package com.czy.seed.mvc.home.mapper;

import com.czy.seed.mvc.home.entity.AddressManager;
import com.czy.seed.mybatis.base.mapper.BaseMapper;
import com.czy.seed.mybatis.config.mybatis.annotations.AutoMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author wang
 * @date 20180222
 *
 * */
@AutoMapper
public interface AddressManagerMapper extends BaseMapper<AddressManager> {
    @Update(" update address_manager  set ischeck=0  where user_id=#{user_id}")
    void  updateByParentId(@Param("user_id") long  user_id);
}
